'''
Created on 28-11-2010

@author: mwi
'''
import unittest
from sms import *

class SmsHandlerTestCase(unittest.TestCase):

    def testHandleStart(self):
        def start():
            pass
        actions = dict(start=start)
        handler = SmsHandler(actions)
        sms = '669929906', 'czesc tu marek'
        handler.handle_sms(sms)

if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.testName']
    unittest.main()